<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Widget Functionalities</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
<link type="text/css" href="css/smoothness/jquery-ui-1.8.16.custom.css" rel="stylesheet" />	

<script src="js/lang/en.js" type="text/javascript"></script>
<script src="js/lang/pt.js" type="text/javascript"></script>

<script src="js/libs/modernizr-2.0.6.min.js"></script>

<script type="text/javascript" src="js/libs/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/libs/jquery.tools.min.js"></script>
<script type="text/javascript" src="js/libs/jquery-ui-1.8.16.custom.min.js"></script>

<script type="text/javascript" src="js/jquery.raty.min.js"></script>
<script type="text/javascript" src="js/cookies.js"></script>
<script type="text/javascript" src="js/base64.js"></script>
<script type="text/javascript" src="js/store.js"></script>
<script type="text/javascript" src="js/signals.js"></script>

<script type="text/javascript" src="js/vendor/jquery.ui.widget.js"></script>
<script type="text/javascript" src="js/jquery.iframe-transport.js"></script>

<script type="text/javascript" src="js/widget_functionalities.js"></script>
</head>
<body>
<div id="page">
<div class="headerMain">
    <div class="navigationBar">
    	<div class="navigationItem" onclick="goHome()" id="store_link">Widget Store</div>
        <div class="navigationItem" onClick="goToCategorySearch()" id="categories_link">Categories</div>
        <div class="navigationItem" onClick="goToFavourites()" id="favourites_link">Favourites</div>
        <div class="logged-in"><div class="navigationItem" onClick="goToMyWidgets()" id="my_widgets_link">My Widgets</div></div>
        <div class="logged-in"><div class="navigationItem" onClick="goToWidgetCreator()" id="creator_link">Creator</div></div>
        <div class="admin-view"><div class="navigationItem" onClick="goToAdmin()" id="admin_link">Admin</div></div>
        <input class="searchBox" type="text" name="q" placeholder="Search term here" id="searchText" />
        <div class="login" id="login"></div>
        <div class="clear"></div>
    </div>
    <div class="clear"> </div>
</div>
<div class="clear"> </div>


	<div class="sectionhead">
		<span id="widgetInfo"></span>
	</div>
	<div class="section" id="widget_functionalities">
		<div class="logged-in">
		<div id="functionality_box" class="func_box">
			<div class="func_box_label" id="functionalities_label">Functionalities</div>
        	<div class="func_list_box">
                <div id="functionalities_group_list">
                </div>
			</div>
            <div class="clear"></div>
        </div>
		<div id="widget_functionality_box" class="wid_func_box">
			
		</div>
		<div class="clear"></div>
		
		</div>
                <div style="text-align:right"><button onClick="goToWidgetView()"><span id="done_button">Done</span></button></div>

		<div class="not-logged-in">
			<div class="message" id="not_logged_in_message">You must be logged in to attach functionalities to widgets!</div>
		</div> 
	</div>
<div class="clear">&nbsp;</div>


<footer>
&nbsp;
</footer>

</div>

</body>
</html>